import Vue from "vue";
import VueRouter from "vue-router";

// import yy from "../xt/yy"

Vue.use(VueRouter);

let routes = [{
        path: "/",
        component: Home
    },
    {
        path: "/Home",
        component: Home
    },
   
]
//创建vue-router对象
export default new VueRouter({
    routes: routes
});